﻿using System;
using System.IO;

namespace HttpCrawler
{
	public static class UriHelper
	{
		public const char PathSeparatorChar = '/';

		public static string ToFilePath(Uri url)
		{
			return url.ToString().Replace(PathSeparatorChar, Path.DirectorySeparatorChar);
		}
	}
}
